|
Date and Time Settings
This part of the setup might look complicated but using one of the examples
below it should be no problem.
Date Formats
d - day of the month, 2 digits with leading zeros; i.e. "01"
to "31"
j - day of the month without leading zeros; i.e. "1" to "31"
D - day of the week, textual, 3 letters; i.e. "Fri"
l - day of the week, textual, long; i.e. "Friday"
M - month, textual, 3 letters; i.e. "Jan"
F - month, textual, long; i.e. "January"
m - month, 2 digits with leading zeros; i.e. "01" to "12"
n - month without leading zeros; i.e. "1" to "12"
Y - year, 4 digits; i.e. "1999"
y - year, 2 digits; i.e. "99"
Time Formats
a - "am" or "pm"
h - hour, 12-hour format; i.e. "01" to "12"
H - hour, 24-hour format; i.e. "00" to "23"
g - hour, 12-hour format without leading zeros; i.e. "1" to
"12"
G - hour, 24-hour format without leading zeros; i.e. "0" to
"23"
i - minutes; i.e. "00" to "59"
s - seconds; i.e. "00" to "59"
Date Examples
| Format String |
Sample Output |
| |
|
| n-j-y |
1-3-00 |
| |
11-24-01 |
| |
|
| d/m/Y |
01/03/2000 |
| |
11/24/2001 |
| |
|
| l, M d Y |
Wednesday, Jan 3 2000 |
| |
Wednesday, Nov 24 2001 |
| |
|
Time Examples
| Format String |
Sample Output |
| |
|
| g:i a |
1:15 pm |
| |
12:30 am |
| |
|
| H:i |
19:05 |
| |
00:13 |
| |
|
|